package com.sita.bike.utils;

import android.content.Context;
import android.widget.Toast;

import com.sita.friend.Constant;

/**
 * Created by new on 2016/1/31.
 */
public class DebugUtils {

    public static void showToast(Context context, String content) {
        showToast(context, content, true);
    }

    public static void showToast(Context context, String content, boolean isAlways) {
        if (isAlways || Constant.IS_DEBUG) {
            Toast.makeText(context, content,Toast.LENGTH_SHORT).show();
        }

    }
}
